<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
/*
 * 审批表
 */
class CreateApprovalTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
//        Schema::create('approval', function (Blueprint $table) {
//	        $table->increments('id');
//	        $table->string('name')->comment('流程名称');
//	        $table->integer('name')->comment('审核级别：1一级审核，2二级审核，3三级审核，4四级审核')->default(0);
//	        $table->integer('type')->comment('流程使用范围：1所有，2部分');
//	        $table->string('step')->comment('审核步骤');
//	        $table->integer('status')->comment('配置状态：1有效，0无效')->default(0);
//	        $table->integer('company_id')->comment('所属公司id')->nullable();
//	        $table->timestamps();
//        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('approval');
    }
}
